<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>修改密码</title>
<link rel="stylesheet" href="${ctxPath}/static/portal/css/reset.css">
<link rel="stylesheet" href="${ctxPath}/static/portal/css/main-zsb.css">
<link	href="${ctxPath}/static/css/plugins/validate/bootstrapValidator.min.css" rel="stylesheet">
<link href="${ctxPath}/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="${ctxPath}/static/css/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet"/>
<link href="${ctxPath}/static/css/style.css?v=4.1.0" rel="stylesheet">

<script src="${ctxPath}/static/js/jquery.min.js?v=2.1.4"></script>
<script src="${ctxPath}/static/js/plugins/layer/layer.min.js"></script>
<script src="${ctxPath}/static/js/plugins/validate/bootstrapValidator.min.js"></script>
<script src="${ctxPath}/static/js/plugins/validate/zh_CN.js"></script>
<script src="${ctxPath}/static/js/common/Feng.js"></script>
<script src="${ctxPath}/static/js/common/ajax-object.js"></script>
<script type="text/javascript">
	Feng.addCtx("${ctxPath}");
	$.ajaxSetup({
		contentType: "application/x-www-form-urlencoded;charset=utf-8",
		complete: function (XMLHttpRequest, textStatus) {
			//通过XMLHttpRequest取得响应头，sessionstatus，
			var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
			if (sessionstatus == "timeout") {
				//如果超时就处理 ，指定要跳转的页面
				window.location = Feng.ctxPath + "/portal/login?sessionstatus=timeout";
			}
		}
	});
</script>
<style type="text/css">
.col-sm-6 {
    width: 48% !important;
}
.bm-main{
	margin-left: 15vw;
	margin-top: 80px;
	padding-right: 15px;
	max-height: none;
	margin-bottom: 5vh;
	padding-bottom: 15vh;
	overflow: auto;
	height: 100%;
}
</style>
</head>
<body style="overflow-y: hidden;">
	<div class="bm-top">
		<img src="${ctxPath}/static/portal/images/logo-03_01.png">
	</div>
	<div class="bmxt-sidebar">
		<div class="bmxt-sidebar-list">
			<h1>操作选项</h1>
			<ul>
				<li onclick="location.href='${ctxPath}/portal'"><i><img src="${ctxPath}/static/portal/images/icons/icon-home.png"></i>管理主页</li>
				<li onclick="location.href='${ctxPath}/portal/changePwd'"><i><img src="${ctxPath}/static/portal/images/icons/icon-password.png"></i>修改密码</li>
				<li onclick="location.href='${ctxPath}/portal/checkWish'"><i><img src="${ctxPath}/static/portal/images/icons/icon-edit.png"></i>填报志愿</li>
				<li onclick="logout();"><i><img src="${ctxPath}/static/portal/images/icons/icon-exit.png"></i>退出系统</li>
			</ul>
			<!--<div class="copyright-info">-->
				<!--<P>©版权所有</P>-->
				<!--<p>苏州格尔斯信息技术有限公司</p>-->
			<!--</div>-->
		</div>
	</div>
	<div class="bm-main">
		<div class="n-place">
			<p>
				<i>您的位置:<a>首页</a><i>></i><a href="javaScript:void(0);">修改密码</a></i>
			</p>
		</div>
		<div class="ibox float-e-margins">
			<div class="ibox-content">
				<div class="form-horizontal" id="changeInfoForm">
					<div class="row">
						<div class="col-sm-4"></div>
						<div class="col-sm-4">
							<#input id="oldPwd" name="原密码" 	type="password"/>
							<#input id="newPwd" name="新密码" type="password"/>
							<#input id="rePwd" name="重复新密码" type="password"/>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-6"></div>
						<div class="col-sm-6 tb-btns">
							<input type="button" id="cancel" onclick="InfoDlg.cancel();" value="取消"/>
							<input type="button" id="ensure" onclick="InfoDlg.changePwd();" value="确认"/>
						</div>
					</div>
				</div>

			</div>
		</div>
		<script src="${ctxPath}/static/modular/portal/wishReport/changePwd.js"></script>
			<script type="text/javascript">
				function logout(){
					layer.confirm('确认退出系统？', {
						btn : [ '确认','取消' ]
					//按钮
					}, function() {
						layer.closeAll();
						location.href = "${ctxPath}/portal/logout";
					},function() {
						layer.closeAll();
					});
				}
				</script>
	</div>
</body>
</html>